package mobi.greenplate.client.domain;

import java.io.Serializable;

import java.util.List;

public class Community implements Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;
    private String groupName;
    private User owner;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public User getOwner() {
        return owner;
    }

    public void setOwner(User owner) {
        this.owner = owner;
    }

    //OneToMany<Friend:[@mappedBy:community]>
    public List<Friend> getFriends() {
        throw new UnsupportedOperationException();      
    }
}
